package com.ce.webframework.sec.vo;

import org.acegisecurity.GrantedAuthority;
import org.acegisecurity.userdetails.User;

public class ResUserVO extends User {


	private static final long serialVersionUID = 1L;

	private SecUserinfoVO secUserinfoVO;

	public ResUserVO(SecUserinfoVO secUserinfoVO, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, GrantedAuthority[] authorities) throws IllegalArgumentException {
		super(secUserinfoVO.getUsercode(), secUserinfoVO.getPassword(), enabled, accountNonExpired, credentialsNonExpired,
				accountNonLocked, authorities);
		// TODO Auto-generated constructor stub
		this.secUserinfoVO = secUserinfoVO;
	}

	public SecUserinfoVO getSecUserinfoVO() {
		return secUserinfoVO;
	}

	public void setSecUserinfoVO(SecUserinfoVO secUserinfoVO) {
		this.secUserinfoVO = secUserinfoVO;
	}



}
